﻿using System;
using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.Extend.Model
{
    public class CollectionPlanModel
    {
        /// <summary>
        /// 收款日期
        /// </summary>
        [Required(ErrorMessage = "收款日期不能为空")]
        public DateTime? receivableDate { get; set; }
        /// <summary>
        /// 收款比率
        /// </summary>
        [Required(ErrorMessage = "收款比率不能为空")]
        public decimal? receivableRate { get; set; }
        /// <summary>
        /// 收款金额
        /// </summary>
        [Required(ErrorMessage = "收款金额不能为空")]
        public decimal? receivableMoney { get; set; }
        /// <summary>
        /// 收款方式
        /// </summary>
        [Required(ErrorMessage = "收款方式不能为空")]
        public string receivableMode { get; set; }
        /// <summary>
        /// 收款摘要
        /// </summary>
        [Required(ErrorMessage = "收款摘要不能为空")]
        public string fabstract { get; set; }
        public string description { get; set; }
        public string id { get; set; }
        public string orderId { get; set; }
        public int? receivableState { get; set; }
        public long? sortCode { get; set; }
    }
}
